#pragma config(Sensor, dgtl1,  back,           sensorTouch)
#pragma config(Sensor, dgtl2,  front,          sensorTouch)
#pragma config(Motor,  port2,           MR,    tmotorServoContinuousRotation, openLoop)
#pragma config(Motor,  port3,           ML,     tmotorServoContinuousRotation, openLoop, reversed)

bool turn = true;
int Y = 0;
int full = 127;
task main()
{
	motor[MR] = full;
	motor[ML] = full;
	while(Y < 11)
	{

		if(SensorValue[front] == 1 && turn== true)
		{
			motor[MR] = full * -1;
			motor[ML] = full * -1;
			Y += 1;
			turn = false;
		}

		if(turn == false)
		{
			motor[MR] = -127;
			motor[ML] = -127;
			wait1Msec(500);
			motor[MR] = 0;
			motor[ML] = -127;
			wait1Msec(2000);
			turn = true;
			motor[MR] = 127;
			motor[ML] = 127;
		}
		if()
			{
			motor[MR] =
			motor[ML] =
			wait1Msec()
			motor[MR] =
			motor[ML] =
		}
		else if()
			{
			motor[MR] =
			motor[ML] =
			wait1Msec()
			motor[MR] =
			motor[ML] =
		else if()
			{
			motor[MR] =
			motor[ML] =
			wait1Msec()
			motor[MR] =
			motor[ML] =
		else if()
			{
			motor[MR] =
			motor[ML] =
			wait1Msec()
			motor[MR] =
			motor[ML] =
	}
}
